package com.mdd.common.mapper.region;

import com.mdd.common.core.basics.IBaseMapper;
import com.mdd.common.dto.RegionDto;
import com.mdd.common.dto.result.RegionResultDto;
import com.mdd.common.entity.region.DevRegion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 地区Mapper
 */
@Mapper
public interface DevRegionMapper extends IBaseMapper<DevRegion> {

    List<RegionResultDto> list(@Param("form") RegionDto dto);

    @Select("Select * from  la_dev_region")
    List<DevRegion> selectAll();
}
